package com.jf.blog_jf04.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;

/**
 * 博客标签关系表
 *
 * @TableName blog_tag
 */
@TableName(value = "blog_tag", resultMap = "BaseResultMap")
@Data
public class BlogTag implements Serializable {
    /**
     * 主键自增
     */
    @TableId(type = IdType.AUTO)
    @OrderBy
    private Integer bolgTagId;

    /**
     * 博客编号
     */
    private Integer blogId;

    /**
     * 标签编号
     */
    private Integer tagId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private Tag tag;
}
